using Making.Ddd.Domain.Domain.Entities;

namespace HamsterDocs.Domains.Users;

public class User : AggregateRoot<Guid>
{
    public string? UserName { get; set; }
    public string? Email { get; set; }
    public string? PasswordHash { get; set; }
    public string? PasswordSalt { get; set; }
    public string Role { get; set; } = "User";
    public string? Avatar { get; set; }
    public DateTime CreatedAt { get; set; }
    public DateTime UpdatedAt { get; set; }
    public bool IsActive { get; set; } = true;
}